﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001385 RID: 4997
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class TakeRogueAeonLevelRewardCsReq : IMessage<TakeRogueAeonLevelRewardCsReq>, IMessage, IEquatable<TakeRogueAeonLevelRewardCsReq>, IDeepCloneable<TakeRogueAeonLevelRewardCsReq>, IBufferMessage
	{
		// Token: 0x17003F00 RID: 16128
		// (get) Token: 0x0600DFBB RID: 57275 RVA: 0x0025651D File Offset: 0x0025471D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<TakeRogueAeonLevelRewardCsReq> Parser
		{
			get
			{
				return TakeRogueAeonLevelRewardCsReq._parser;
			}
		}

		// Token: 0x17003F01 RID: 16129
		// (get) Token: 0x0600DFBC RID: 57276 RVA: 0x00256524 File Offset: 0x00254724
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return TakeRogueAeonLevelRewardCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003F02 RID: 16130
		// (get) Token: 0x0600DFBD RID: 57277 RVA: 0x00256536 File Offset: 0x00254736
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return TakeRogueAeonLevelRewardCsReq.Descriptor;
			}
		}

		// Token: 0x0600DFBE RID: 57278 RVA: 0x0025653D File Offset: 0x0025473D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakeRogueAeonLevelRewardCsReq()
		{
		}

		// Token: 0x0600DFBF RID: 57279 RVA: 0x00256545 File Offset: 0x00254745
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakeRogueAeonLevelRewardCsReq(TakeRogueAeonLevelRewardCsReq other) : this()
		{
			this.aeonId_ = other.aeonId_;
			this.level_ = other.level_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600DFC0 RID: 57280 RVA: 0x00256576 File Offset: 0x00254776
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakeRogueAeonLevelRewardCsReq Clone()
		{
			return new TakeRogueAeonLevelRewardCsReq(this);
		}

		// Token: 0x17003F03 RID: 16131
		// (get) Token: 0x0600DFC1 RID: 57281 RVA: 0x0025657E File Offset: 0x0025477E
		// (set) Token: 0x0600DFC2 RID: 57282 RVA: 0x00256586 File Offset: 0x00254786
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint AeonId
		{
			get
			{
				return this.aeonId_;
			}
			set
			{
				this.aeonId_ = value;
			}
		}

		// Token: 0x17003F04 RID: 16132
		// (get) Token: 0x0600DFC3 RID: 57283 RVA: 0x0025658F File Offset: 0x0025478F
		// (set) Token: 0x0600DFC4 RID: 57284 RVA: 0x00256597 File Offset: 0x00254797
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Level
		{
			get
			{
				return this.level_;
			}
			set
			{
				this.level_ = value;
			}
		}

		// Token: 0x0600DFC5 RID: 57285 RVA: 0x002565A0 File Offset: 0x002547A0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as TakeRogueAeonLevelRewardCsReq);
		}

		// Token: 0x0600DFC6 RID: 57286 RVA: 0x002565AE File Offset: 0x002547AE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(TakeRogueAeonLevelRewardCsReq other)
		{
			return other != null && (other == this || (this.AeonId == other.AeonId && this.Level == other.Level && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600DFC7 RID: 57287 RVA: 0x002565EC File Offset: 0x002547EC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.AeonId != 0U)
			{
				num ^= this.AeonId.GetHashCode();
			}
			if (this.Level != 0U)
			{
				num ^= this.Level.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600DFC8 RID: 57288 RVA: 0x00256644 File Offset: 0x00254844
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600DFC9 RID: 57289 RVA: 0x0025664C File Offset: 0x0025484C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600DFCA RID: 57290 RVA: 0x00256658 File Offset: 0x00254858
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Level != 0U)
			{
				output.WriteRawTag(72);
				output.WriteUInt32(this.Level);
			}
			if (this.AeonId != 0U)
			{
				output.WriteRawTag(80);
				output.WriteUInt32(this.AeonId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600DFCB RID: 57291 RVA: 0x002566B4 File Offset: 0x002548B4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.AeonId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.AeonId);
			}
			if (this.Level != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Level);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600DFCC RID: 57292 RVA: 0x0025670C File Offset: 0x0025490C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(TakeRogueAeonLevelRewardCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.AeonId != 0U)
			{
				this.AeonId = other.AeonId;
			}
			if (other.Level != 0U)
			{
				this.Level = other.Level;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600DFCD RID: 57293 RVA: 0x0025675C File Offset: 0x0025495C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600DFCE RID: 57294 RVA: 0x00256768 File Offset: 0x00254968
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 72U)
				{
					if (num != 80U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.AeonId = input.ReadUInt32();
					}
				}
				else
				{
					this.Level = input.ReadUInt32();
				}
			}
		}

		// Token: 0x0400589F RID: 22687
		private static readonly MessageParser<TakeRogueAeonLevelRewardCsReq> _parser = new MessageParser<TakeRogueAeonLevelRewardCsReq>(() => new TakeRogueAeonLevelRewardCsReq());

		// Token: 0x040058A0 RID: 22688
		private UnknownFieldSet _unknownFields;

		// Token: 0x040058A1 RID: 22689
		public const int AeonIdFieldNumber = 10;

		// Token: 0x040058A2 RID: 22690
		private uint aeonId_;

		// Token: 0x040058A3 RID: 22691
		public const int LevelFieldNumber = 9;

		// Token: 0x040058A4 RID: 22692
		private uint level_;
	}
}
